import request from "@/utils/request";

export function updateInfAPI(data){
    return request({
      url:'information/update',
      method:'PUT',
      params:data
    })
  }

export function updatePwdAPI(data){
  return request({
    url:'/information/updatePwd',
    method:'PUT',
    params:data
  })
}

export function updateEmailAPI(data){
  return request({
    url:'/information/updateEmail',
    method:'PUT',
    params:data
  })
}


export function getMyDetailAPI(){
  return request({
    url:'/information/getMyDetail',
    method:'GET'
  })
}